/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.zaahir.assignment2.Composition.Conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.zaahir.assignment2.Composition.Impl.Person;
import za.ac.cput.zaahir.assignment2.Composition.Impl.Student;

/**
 *
 * @author Zaahir
 */ 
@Configurable
public class AppConf {

@Bean 
public Person p()
{
    return new Person();
} 
@Bean 
public Student s(){
 return new Student();   
}
}
